use --release 7 instead of -source/-target
authorTiago Stürmer Daitx <tiago.daitx@ubuntu.com>
Sat, 18 Jan 2020 18:58:32 +0000 (18:58 +0000)
committerBernd Zeimetz <bzed@debian.org>
Sat, 18 Jan 2020 18:58:32 +0000 (18:58 +0000)
commitc0239f9dc31e802b2f7f048979bc1ee64f0c31af
treef60dace215442d3200afcc62b1f67d9b08180da2
parentcac5f94cc7ac377d1d1f4ba3aceea4db005c1bab
use --release 7 instead of -source/-target

Bug-Ubuntu: https://launchpad.net/bugs/1756854
Bug-Ubuntu: https://launchpad.net/bugs/1766998
Forwarded: no
Last-Update: 2018-04-24

Instead of -source/-target ceph should be build with --release for OpenJDK 9
or later so that the bootclasspath is also set, as per JEP-247, otherwise it
risks incurring into binary incompatibility when run with an earlier OpenJDK.
OpenJDK 11 minimum compatibility release has been updated to 7.
Last-Update: 2018-04-24
Gbp-Pq: Name update-java-source-target-flags.patch
src/java/CMakeLists.txt